{extend name="$index_style_layout" /}
{block name="head_keword"}{$webdb.mseo_keyword}{/block}
{block name="head_description"}{$webdb.mseo_description}{/block}
{block name="head_title"}{$keyword} - 搜索结果{/block}
{block name="body_ContactSearch"}{/block}
{block name="nav"}{/block}
{block name="body_content"}
<style> 
em{color:#F00;font-style:normal}
h3{margin:0;padding:0;font-size:14px}
b{font-weight:bold}
.red{color:#F00}
.blue{color:#00F}
.green{color:#008000}
.cl{clear:both;overflow:hidden;height:0}
.cl5{clear:both;overflow:hidden;height:5px}
.cl8{clear:both;overflow:hidden;height:8px}
.cl10{clear:both;overflow:hidden;height:10px}
.fl{display:inline-block;float:left}
.fr{display:inline-block;float:right}
input,button,select,textarea{outline:0}
#top{height:36px;line-height:36px;background-color:#1e2130;color:#999}
#top .fl{display:inline-block;float:left;padding:0 10px}
#header{height:54px;background:#f1f1f1;overflow:hidden;border-bottom:1px solid #e5e5e5;width:100%;}
#header .con{height:54px;margin:0 auto;overflow:hidden;width: 1200px}
#header .close{width:22px;height:22px;border:1px solid #eceaea;background-color:#FFF;text-align:center;line-height:22px;position:absolute;top:10px;right:10px;font-size:14px;cursor:pointer;color:#f73216}
.desktop{display:inline-block;float:left;margin:20px 0 0 15px}
.searchbox{width:640px;height:32px;margin:10px 5px 0 5px;float:left;display:inline-block}
.searchbox .q{display:inline-block;background:#FFF;width:524px;height:32px;font-size:16px;color:#333;margin:0;padding:0 10px 0 10px;border:0;float:left;line-height:32px;border:1px solid #cfc7c8;border-right:0}
.searchbox .btn{width:95px;width:94px\9\0;height:34px;line-height:34px;border:0;background-color:#fc8c1d;cursor:pointer;float:right;display:inline-block;color:#FFF;text-align:center;font-size:14px;-webkit-appearance:none;border-radius:0}
.searchbox .btn:hover{background-color:#fc9f38;-webkit-appearance:none;border-radius:0}
.searchnav{height:40px;background-color:#f8f8f8;line-height:40px;clear:both;margin-top:54px;_margin-top:0}
.searchnav .sonav{height:40px;margin-left:122px;overflow:hidden;line-height:40px;overflow:hidden;font-size:14px}
.searchnav .sonav b{display:inline-block;float:left;padding:0 13px;height:38px;border-bottom:2px solid #38f}
.searchnav .sonav a{color:#666;font-size:14px;display:inline-block;float:left;height:40px;padding:0 13px}
.searchnav .sonav a:hover{color:#363535;text-decoration:none}
#hd_main{margin:0 auto;overflow:hidden;clear:both;background-color:#FFF;padding-bottom:15px;width: 1200px}
#hd_main h1{display:inline;color:#F00}
#leftbox{width:120px;float:left;display:inline-block;margin-right:10px;min-height:400px;border-right:1px solid #ddd7d7;overflow:visible;display:none}
#leftbox .tnav{margin-top:10px}
#leftbox .tnav li{height:36px;line-height:36px;border:1px solid #fff;width:118px;z-index:999;text-align:center}
#leftbox .tnav li.current{height:36px;line-height:36px;border:1px solid #ddd7d7;border-right:1px solid #fff;width:119px;z-index:999;text-align:center}
#resinfo{margin-bottom:10px;color:#999;height:22px;line-height:22px}
#resinfo .fr i{font-style:normal;border-bottom:1px solid #f76007;color:#f76007;line-height:22px;display:inline-block;float:left;margin-right:10px;padding:0 2px}
#resinfo .fr a.wt{display:inline-block;float:left;margin-right:10px}
#resinfo em{color:#2eb50c}
.jc{margin-bottom:8px;display:block}
#hd_main .res{width:700px}
#result{width:700px}
.res{float:left;word-break:break-all;display:inline;margin-right:0;padding-top:10px;overflow:hidden;font-family:arial}
.res .g h2{font-size:16px;font-weight:normal;margin:0 0 6px 0;height:20px;overflow:hidden}
.res .g h2 a{color:#12c;text-decoration:underline}
.res .g h2 a:hover{background-color:#f5f5f5}
.res .g h2 a:visited{color:#551a8b}
.res em{color:#d00;font-style:normal}
.res .g{margin-right:5px;font-size:14px;overflow:hidden;margin-bottom:12px;padding:3px 5px 3px 0;margin-left:0}
.res .g span.a{color:#008000}
.res .g .view{margin:0 0 0 10px;color:#069;text-decoration:underline;font-size:12px;cursor:pointer}
.res span.num{font-size:16px;margin-right:5px}
.res span.nums{font-size:16px}
.res .std{line-height:150%;font-size:13px}
.res .g strong{color:#F00}
.res .g .std{overflow:hidden}
.res .g .pic{width:109px;height:82px;float:left;display:inline;overflow:hidden;margin-right:7px}
.res .g .pic a{width:107px;height:80px;border:1px solid #CCC;display:block}
.res .g .pic a:hover{border:1px solid #F90}
.res .g .listimg img{width:107px;height:80px;margin-right:6px}
.res .g .listimg{float:left}
#stips{display:none;font-size:16px;margin:15px 0 5px 10px}
#stips em{color:#d00;text-decoration:underline}
.res .g b{color:#d00;font-weight:normal}
.xglist{clear:both;margin:10px 0;padding:10px 10px;background-color:#f9fafd}
.xglist h4{line-height:30px;font-size:14px;font-weight:bold;color:#333}
.xglist li{width:165px;float:left;display:inline-block;margin:5px}
.xglist li a{color:#36c;font-size:14px}
.xglist li a:hover{background-color:#4359d9;color:#FFF}
 
#sidebar{padding:0 0 5px 8px;margin-top:10px;margin-left:100px;width:300px;line-height:180%;float:left;display:inline-block;word-break:break-all;border-left:1px solid #e1e1e1;min-height:500px}
#sidebar a:link{color:#36c}
#sidebar a:hover{background-color:#36F;color:#FFF}
.rankbox{padding:5px 10px 10px 0}
.rankbox .title{height:30px;line-height:30px;font-size:14px;font-weight:bold;color:#F30;overflow:hidden;border-bottom:1px dashed #ccc}
.ranklist{padding:0;margin:5px;overflow:hidden;display:inline-block}
.ranklist li{height:20px;margin:5px 5px 5px 0;padding-bottom:5px;clear:both;overflow:hidden;border-bottom:1px solid #f3f3f3;width:280px}
.ranklist li .num{display:inline-block;float:left;width:16px;height:16px;margin-top:2px;background-color:#8eb9f5;line-height:16px;text-align:center;color:#FFF;font-size:12px}
.ranklist li .arrow{display:inline-block;float:left;width:10px;height:16px;margin-top:2px;background:url(a.gif) no-repeat center center;line-height:16px;text-align:center}
.ranklist li .top1{background-color:#f97a0b}
.ranklist li .top2{background-color:#fa9a43}
.ranklist li .top3{background-color:#fcb574}
.ranklist li a{font-size:14px;display:inline-block;float:left;height:20px;margin-left:5px;padding:0 5px}
.ranklist li a:hover{background-color:#f2f1ee;text-decoration:none;padding:0 5px}
.imglist{text-align:center;margin:0 auto 10px auto}
.imglist img{height:140px;border:1px solid #fff}
.imglist li{background:#fff;float:left;height:142px}
.imglist img:hover{border:1px solid #f19612}
.piclist{text-align:center;width:280px;margin:0 auto}
.piclist img{width:203px}
.piclist .cell{padding:10px 0 5px 0;width:223px;border:1px solid #e3e3e3;background:#fff;margin-top:20px;box-shadow:0 2px 3px 1px #ccc}
.piclist .cell:hover{box-shadow:0 2px 3px 1px #999}
#waterfall{text-align:center;width:300px;margin:0 auto;overflow:hidden}
#waterfall img{width:125px}
#waterfall .cell{padding:5px 0 5px 0;width:135px;border:1px solid #e3e3e3;background:#fff;margin-top:10px;box-shadow:0 2px 3px 1px #ccc}
#waterfall .cell:hover{box-shadow:0 2px 3px 1px #999}
#plus,.plus{margin-bottom:7px;font-size:14px;border:1px dashed #f0fbf1;background-color:#fcfbef;padding:8px}
.bdsug_copy{display:none}
</style>
<div id="header">
  <div class="con">
    <div class="searchbox">
      <form action="{:url('search/index/lists')}" method="get" onsubmit="return subck();">
        <input align="middle" name="keyword" class="q" id="kw" value="{$keyword}" maxlength="100" size="50" autocomplete="off" baidusug="1">
        <input id="btn" class="btn" align="middle" value="搜索一下" type="submit">
      </form>
    </div>
  </div>
</div>
<div id="hd_main" style="min-width: 1100px;">
  <div id="res" class="res">
    <div id="result"> {qb:tag name="pc_searchshow" rows="20" union="type,mid,fid" where="data=$keyword" class="app\search\index\Labelsearch@showlist"}
      <div class="g">
        <h2><a href="{:url($rs.module.'/content/show',['id'=>$rs['id']],'html',true)}" target="_blank" class="s">{$rs.title}</a></h2>
        <div class="std">{$rs.des}</div>
        <span class="a">{:url($rs.module.'/content/show',['id'=>$rs['id']],'html',true)}</span> <span class="a">{$rs.create_time}</span></div>
      {/qb:tag}</div>
    <div class="cl"></div>
    <script type="text/javascript">
var morepage = 1;
function ShowMoreInfo(){	
	morepage++;	
	$.get('{qb:url name="pc_searchshow" /}'+morepage,function(res){
		if(res.code==0){
			if(res.data==''){
				layer.msg("已经显示完了！",{time:500});
			}else{		
				$('#result').append(res.data);
                scroll_get = true; 
			}
		}else{
			layer.msg(res.msg,{time:2500});
		}
	});
}
var scroll_get = true;	//做个标志,不要反反复复的加载
$(document).ready(function () {
	$(window).scroll(function () {
		if (scroll_get==true &&  (400+$(window).scrollTop())>($(document).height() - $(window).height())) {
			scroll_get = false;
			ShowMoreInfo();
		}
	});
});

 
</script> 
  </div>
  <div id="sidebar">
	  <div class="rankbox">
      <div class="title">按频道搜索</div>
      <ul class="ranklist">
		  <li><a href="{:url('search/index/lists','html',true)}?keyword={$keyword}"><i class="fa fa-fw fa-rss"></i> 全部频道</a></li>
        {volist name="modellist" id="rs" key="k"} 
         <li><a href="{:url('search/index/lists','html',true)}?keyword={$keyword}&type={$rs.type}"><i class="fa fa-fw fa-rss"></i> {$rs.title}</a></li>
        {/volist}
      </ul>
    </div>
    <div class="rankbox">
      <div class="title">今日实时热搜</div>
      <ul class="ranklist">
        {volist name="resou" id="rs" key="k"}
        <li><span class="num {lt name="k" value="4"}top1{/lt}">{$k}</span><a href="{:url('search/index/lists','html',true)}?keyword={$rs.keyword}">{$rs.keyword}</a></li>
        {/volist}
      </ul>
    </div>
  </div>
</div>
<script charset="gbk" src="http://www.baidu.com/js/opensug.js"></script> 
{/block}